package service;

import entity.h_complain;
import entity.h_room;
import entity.h_transaction;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface HotelService {
    public List<h_room> getH_roomAll(Map<String,Object> map);
    public List<h_room> getRoomsAll(Map<String,Object> map);
    public List<h_transaction> getTransactionAll(Map<String,Object> map);
    public List<h_complain> getComplainAll(Map<String,Object> map);
    public h_room getRoomById(String id);
    public boolean updateRoom(h_room room);
    public boolean deleteRoomById(String id);
    public boolean addRoom(h_room room);
}
